package com.jlbtuz.fire;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

import com.jlbtuz.fire.entity.table.TableEntity;
import com.jlbtuz.fire.start.Generate;
import com.jlbtuz.fire.start.SpringUtils;

@SpringBootApplication
@ComponentScan
public class CodefireClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(CodefireClientApplication.class, args);

		Generate gen = SpringUtils.getBean(Generate.class);
		try {
			gen.Generate();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
